package edu.xidian.sei.mlcs
import scala.collection.mutable.ArrayBuffer
import edu.xidian.sei.mlcs
import java.util.HashMap
/**
 * Created by yc on 5/9/16.
 */
object Border {

  class LevelInfo(var level: Short, var predecessors: ArrayBuffer[Location]) {

    final override def toString: String = {
      "LevelInfo [level=" + level + ", predecessors=" + predecessors + "]"
    }
  }

}

class Border(var nodes: HashMap[Location, Border.LevelInfo], var insides: ArrayBuffer[Location], var outsides: HashMap[Location, Border.LevelInfo]) {
  final override def toString: String = {
    "Border [nodes=" + nodes + ", insides=" + insides + ", outsides=" + outsides + "]"
  }
}
